package com.shycloud.mido.member.api.vo;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shycloud.mido.member.api.entity.StockDeviceInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class StockDeviceInfoRespVO extends StockDeviceInfo implements Serializable {

	private static final long serialVersionUID = 3402920006870364285L;

	private String actId;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "激活时间开始")
	private LocalDateTime activeStartTime;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "激活时间结束")
	private LocalDateTime activeEndTime;

	@ApiModelProperty(value = "账户")
	private String username;

	@ApiModelProperty(value = "真实名字")
	private String realName;

	@ApiModelProperty(value = "昵称")
	private String showname;

	@ApiModelProperty(value = "手机号")
	private String phone;

	@ApiModelProperty(value = "当前状态：1未进行2进行中3过期")
	private String currentStatus;
	/** (1销售2出租3体验) */
	@ApiModelProperty(value = "(1销售2出租3体验)")
	private String busiType;
	/** (1年2月3日) */
	@ApiModelProperty(value = "(1年2月3日)")
	private String durationType;
	/** 值 */
	@ApiModelProperty(value = "值")
	private Integer durationTypeValue;
	/** 备注 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/** 激活码 */
	@ApiModelProperty(value = "激活码")
	private String atvCode;

	@ApiModelProperty(value = "客户名称")
	private String orgName;

	@ApiModelProperty(value = "客户名称")
	private String optName;

	@ApiModelProperty(value = "客户名称")
	private String distName;

	@ApiModelProperty(value = "使用记录")
	private List<MemberActivateEntityResp> memberActivateEntityRespList;
}
